Skip to content

Conversation

@maximepvrt
Copy link

Closes

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Copy link
Member

@snowystinger snowystinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. We'll need to add a description jsdoc to the function and add it to our documentation as well, would you like to handle that?

You'll also need to sign the CLA

Please sign the Adobe CLA! Once signed, close and re-open your pull request to run the check again.

toTimeZone,
toLocalTimeZone,
fromDate,
fromDateToLocal,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh... we don't use this function anywhere in our codebase, @devongovett what was the intent here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snowystinger I discovered this function while trying to use fromDate without a timezone. Is there a reason we didn’t just make the timezone optional and keep a single function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants